package com.ruoyi.feike.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.feike.mapper.BasicInformationMapper;
import com.ruoyi.feike.domain.BasicInformation;
import com.ruoyi.feike.service.IBasicInformationService;

/**
 * feikeService业务层处理
 * 
 * @author zmh
 * @date 2022-07-05
 */
@Service
public class BasicInformationServiceImpl implements IBasicInformationService 
{
    @Autowired
    private BasicInformationMapper basicInformationMapper;

    /**
     * 查询feike
     * 
     * @param id feikeID
     * @return feike
     */
    @Override
    public BasicInformation selectBasicInformationById(String id)
    {
        return basicInformationMapper.selectBasicInformationById(id);
    }

    /**
     * 查询feike列表
     * 
     * @param basicInformation feike
     * @return feike
     */
    @Override
    public List<BasicInformation> selectBasicInformationList(BasicInformation basicInformation)
    {
        return basicInformationMapper.selectBasicInformationList(basicInformation);
    }

    /**
     * 新增feike
     * 
     * @param basicInformation feike
     * @return 结果
     */
    @Override
    public int insertBasicInformation(BasicInformation basicInformation)
    {
        return basicInformationMapper.insertBasicInformation(basicInformation);
    }

    /**
     * 修改feike
     * 
     * @param basicInformation feike
     * @return 结果
     */
    @Override
    public int updateBasicInformation(BasicInformation basicInformation)
    {
        return basicInformationMapper.updateBasicInformation(basicInformation);
    }

    /**
     * 批量删除feike
     * 
     * @param ids 需要删除的feikeID
     * @return 结果
     */
    @Override
    public int deleteBasicInformationByIds(String[] ids)
    {
        return basicInformationMapper.deleteBasicInformationByIds(ids);
    }

    /**
     * 删除feike信息
     * 
     * @param id feikeID
     * @return 结果
     */
    @Override
    public int deleteBasicInformationById(String id)
    {
        return basicInformationMapper.deleteBasicInformationById(id);
    }
}
